package com.farmer.consultation;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 咨询问答服务启动类
 */
@SpringBootApplication(scanBasePackages = {"com.farmer"})
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.farmer.consultation.mapper")
public class ConsultationApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConsultationApplication.class, args);
        System.out.println("=========== 咨询问答服务启动成功 ===========");
    }
} 